#ifndef MODE_AROUND_HANDLE_H
#define MODE_AROUND_HANDLE_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "../device/device_gpio.h"

#include "display.h"
#include "key.h"
#include "Product_Config.h"
#include "LOG.h"

EM_SYS_SSP app_logic_get_around_last_ssp();
void app_logic_set_around_last_ssp(EM_SYS_SSP ssp);
EM_SYS_SSP app_logic_get_around_ssp();
void app_logic_set_around_ssp(EM_SYS_SSP ssp);

void mode_around_handle(SYS_OPT_KEY opt);

SYS_OPT_KEY around_on_off_opt(EM_DRV_ACT key_act);
SYS_OPT_KEY around_mode_opt(EM_DRV_ACT key_act);

void app_logic_set_around_recover_ssp(EM_SYS_SSP ssp);
EM_SYS_SSP app_logic_get_around_recover_ssp();

#endif